import Vue from 'vue';
import Vant from 'vant';
import {Lazyload,Uploader} from 'vant';
import VueClipboards from 'vue-clipboards';
import ScrollPosition from 'vue-keep-scroll-position'


import VueMarquee from 'vue-marquee-component';

Vue.use(VueMarquee);
Vue.use(Uploader);
import 'vant/lib/index.less'
//使用本地的icon字体
import 'vant/lib/icon/local.less';
import './assets/style/common.less';

//阿里巴巴库
import './assets/font/iconfont.css'

import 'vue2-animate/dist/vue2-animate.min.css'
import { vueBaberrage } from 'vue-baberrage'
Vue.use(vueBaberrage)

import VueShow from 'vue-show'
Vue.use(VueShow)

import App from './App.vue';
import VueMixin from './mixins/VueMixin';
import i18n from './locales';
import router from './router';
import store from './vuex';
import stream from './http';
import urls from './http/urls';

Vue.use(Vant);
Vue.use(Lazyload);
Vue.use(VueClipboards);
Vue.use(ScrollPosition);
Vue.mixin(VueMixin);

import VueAwesomeSwiper from 'vue-awesome-swiper'

// import style
import 'swiper/dist/css/swiper.css'

Vue.use(VueAwesomeSwiper, /* { default options with global component } */)

import scroll from 'vue-seamless-scroll'

Vue.use(scroll)


import { vsButton, vsSelect, vsPopup,vsInput } from 'vuesax'
import 'vuesax/dist/vuesax.css'

Vue.use(vsButton)
Vue.use(vsSelect)
Vue.use(vsInput)

Vue.prototype.$http = stream;
Vue.prototype.$urls = urls;
console.log(store)
new Vue({
  i18n,
  router,
  store,
  el: '#app',
  render: h => h(App)
});
